how to make a chatting site in html and javascript